package com.cctv.custom.hibernate.integrated.wrapper;

import java.util.List;

public interface BookService {

	public void saveOrUpdate(Book book);

	public List<Book> list();

	public List<Book> list(String name, String author, Double price);

	public List<Book> listOrderByPriceDesc();

	public List<Book> listOrderByPriceAsc();

	public List<Book> list(String author, int pageIndex, int pageSize);
}
